<?php defined('IN_NWIDC') or exit('Access Invalid!');?>
<?php if(!empty($output['list']) && is_array($output['list'])){?>
    <ul class="goods-list" style="width:760px;">
        <?php foreach($output['list'] as $key=>$val){?>
            <li>
                <div class="goods-thumb">
                <img src="<?php echo $val['voucher_t_customimg'];?>"/>
                </div>
            <dl class="goods-info">
                <dt><a href="<?php echo $goods_url;?>" target="_blank"><?php echo $val['voucher_t_title'];?></a>
                </dt>
                <dd>有效期:<?php echo date("Y-m-d",$val['voucher_t_start_date']).'~'.date("Y-m-d",$val['voucher_t_end_date']);?></dd>
                <dd>消费金额：<?php echo $lang['currency'].$val['voucher_t_limit'];?></dd>
                <dd>面额：<?php echo $lang['currency'].$val['voucher_t_price'];?></dd>
            </dl>
            <a type="btn_add_mansong_voucher" data-voucher-id="<?php echo $val['voucher_t_id'];?>" data-voucher-name="<?php echo $val['voucher_t_title'];?>" data-img="<?php echo $val['voucher_t_customimg'];?>" href="javascript:void(0);" class="ncsc-btn-mini ncsc-btn-green"><i class="icon-ok-circle "></i>选择为代金券礼品</a>
            </li>
        <?php } ?>
    </ul>
    <div class="pagination">
        <?php echo $output['show_page']; ?>
    </div>
<?php } else { ?>
    <div><?php echo $lang['no_record'];?></div>

<?php } ?>
